crypto/tls.clientHelloMsg.keyShares (field)
21 uses
crypto/tls (current package)
handshake_client.go#L177: hello.keyShares = []keyShare{
handshake_client.go#L184: hello.keyShares = append(hello.keyShares, keyShare{group: X25519, data: x25519EphemeralKey})
handshake_client.go#L194: hello.keyShares = []keyShare{{group: curveID, data: keyShareKeys.ecdhe.PublicKey().Bytes()}}
handshake_client_tls13.go#L58: if hs.keyShareKeys == nil || hs.keyShareKeys.ecdhe == nil || len(hs.hello.keyShares) == 0 {
handshake_client_tls13.go#L315: if slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_client_tls13.go#L336: hello.keyShares = []keyShare{{group: curveID, data: key.PublicKey().Bytes()}}
handshake_client_tls13.go#L376: hs.hello.keyShares = hello.keyShares
handshake_client_tls13.go#L436: if !slices.ContainsFunc(hs.hello.keyShares, func(ks keyShare) bool {
handshake_messages.go#L93: keyShares []keyShare
handshake_messages.go#L279: if len(m.keyShares) > 0 {
handshake_messages.go#L287: for _, ks := range m.keyShares {
handshake_messages.go#L620: m.keyShares = append(m.keyShares, ks)
handshake_messages.go#L709: keyShares: slices.Clone(m.keyShares),
handshake_server_tls13.go#L216: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L232: for _, ks := range hs.clientHello.keyShares {
handshake_server_tls13.go#L643: if len(clientHello.keyShares) != 1 {
handshake_server_tls13.go#L647: ks := &clientHello.keyShares[0]